package com.tsd.common.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 文件表
 *
 * @author huawei
 * @date 2022/02/27 17:02:00
 */
@ApiModel(description = "文件表")
public class CommonFile implements Serializable {

    @ApiModelProperty(value = "自动增长的数字序号", example = "1")
    private Long id;

    @ApiModelProperty(value = "编程代码设置的uuid", example = "1")
    private String sid;

    @ApiModelProperty(value = "创建时间", example = "1")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
    private Date create_date;

    @ApiModelProperty(value = "创建人sid", example = "1")
    private String creator_sid;

    @ApiModelProperty(value = "创建人名称", example = "1")
    private String creator_name;

    @ApiModelProperty(value = "sys_group的sid，与creator_sid相关，保存时关联写入", example = "1")
    private String group_sid;

    @ApiModelProperty(value = "更新时间", example = "1")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
    private Date update_date;

    @ApiModelProperty(value = "更新人sid", example = "1")
    private String updator_sid;

    @ApiModelProperty(value = "更新人名称", example = "1")
    private String updator_name;

    @ApiModelProperty(value = "上级id", example = "1")
    private String parent_sid;

    @ApiModelProperty(value = "归属sid，可以是sys_user_sid，也可以是sys_group的sid，需要根据不同的业务场景确定", example = "1")
    private String owner_sid;

    @ApiModelProperty(value = "编码，本级编码", example = "1")
    private String code;

    @ApiModelProperty(value = "完整编码，点号分隔形成多级编码", example = "1")
    private String full_code;

    @ApiModelProperty(value = "名称", example = "1")
    private String name;

    @ApiModelProperty(value = "排序", example = "1")
    private Integer sn;

    @ApiModelProperty(value = "状态，1-有效，-1-删除", example = "1")
    private Integer state;

    @ApiModelProperty(value = "删除标志，0-未删除，1-已删除", example = "1")
    private Integer dr;

    @ApiModelProperty(value = "删除时间", example = "1")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
    private Date dr_date;

    @ApiModelProperty(value = "删除人员sid", example = "1")
    private String dr_user_sid;

    @ApiModelProperty(value = "删除人名称 ", example = "1")
    private String dr_user_name;

    @ApiModelProperty(value = "备注", example = "1")
    private String note_info;

    @ApiModelProperty(value = "年份", example = "1")
    private Integer yyyy;

    @ApiModelProperty(value = "月份", example = "1")
    private Integer mm;

    @ApiModelProperty(value = "日期", example = "1")
    private Integer dd;

    @ApiModelProperty(value = "旬，1-上旬，2-中旬，3-下旬", example = "1")
    private Integer ten_days;

    @ApiModelProperty(value = "扩展预留字段", example = "1")
    private BigDecimal ext0;

    @ApiModelProperty(value = "扩展预留字段", example = "1")
    private BigDecimal ext1;

    @ApiModelProperty(value = "扩展预留字段", example = "1")
    private BigDecimal ext2;

    @ApiModelProperty(value = "扩展预留字段", example = "1")
    private BigDecimal ext3;

    @ApiModelProperty(value = "扩展预留字段", example = "1")
    private String ext4;

    @ApiModelProperty(value = "扩展预留字段", example = "1")
    private String ext5;

    @ApiModelProperty(value = "扩展预留字段", example = "1")
    private String ext6;

    @ApiModelProperty(value = "扩展预留字段", example = "1")
    private String ext7;

    @ApiModelProperty(value = "扩展预留字段", example = "1")
    private String ext8;

    @ApiModelProperty(value = "业务类型，主要可根据state=notused、bizTypeId得到之前已上传的文件", example = "1")
    private String biz_type;

    @ApiModelProperty(value = "文件路径", example = "1")
    private String file_path;

    @ApiModelProperty(value = "文件长度", example = "1")
    private Long file_len;

    @ApiModelProperty(value = "web访问的URL", example = "1")
    private String web_url;

    @ApiModelProperty(value = "缩略图的URL", example = "1")
    private String thumbnail_url;

    @ApiModelProperty(value = "文件原名", example = "1")
    private String original_file_name;

    @ApiModelProperty(value = "时间标记，0-凌晨（0～6点前）、1-上午（6点～12点前）、2-下午（12点～18点前）、3-夜间（18点～0点前）", example = "1")
    private Integer time_tag;

    @ApiModelProperty(value = "经度", example = "1")
    private Double lng;

    @ApiModelProperty(value = "纬度", example = "1")
    private Double lat;

    @ApiModelProperty(value = "关联的业务表", example = "1")
    private String associate_biz_table;

    @ApiModelProperty(value = "关联的业务sid", example = "1")
    private String associate_biz_sid;

    @ApiModelProperty(value = "关联的业务的字段标识", example = "1")
    private String associate_biz_field_tag;

    @ApiModelProperty(value = "oss类型：aliyun、qiniu、tencent等", example = "1")
    private String oss_type;

    @ApiModelProperty(value = "oss访问url", example = "1")
    private String oss_url;


    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSid() {
        return this.sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public Date getCreate_date() {
        return this.create_date;
    }

    public void setCreate_date(Date create_date) {
        this.create_date = create_date;
    }

    public String getCreator_sid() {
        return this.creator_sid;
    }

    public void setCreator_sid(String creator_sid) {
        this.creator_sid = creator_sid;
    }

    public String getCreator_name() {
        return this.creator_name;
    }

    public void setCreator_name(String creator_name) {
        this.creator_name = creator_name;
    }

    public String getGroup_sid() {
        return this.group_sid;
    }

    public void setGroup_sid(String group_sid) {
        this.group_sid = group_sid;
    }

    public Date getUpdate_date() {
        return this.update_date;
    }

    public void setUpdate_date(Date update_date) {
        this.update_date = update_date;
    }

    public String getUpdator_sid() {
        return this.updator_sid;
    }

    public void setUpdator_sid(String updator_sid) {
        this.updator_sid = updator_sid;
    }

    public String getUpdator_name() {
        return this.updator_name;
    }

    public void setUpdator_name(String updator_name) {
        this.updator_name = updator_name;
    }

    public String getParent_sid() {
        return this.parent_sid;
    }

    public void setParent_sid(String parent_sid) {
        this.parent_sid = parent_sid;
    }

    public String getOwner_sid() {
        return this.owner_sid;
    }

    public void setOwner_sid(String owner_sid) {
        this.owner_sid = owner_sid;
    }

    public String getCode() {
        return this.code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getFull_code() {
        return this.full_code;
    }

    public void setFull_code(String full_code) {
        this.full_code = full_code;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSn() {
        return this.sn;
    }

    public void setSn(Integer sn) {
        this.sn = sn;
    }

    public Integer getState() {
        return this.state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getDr() {
        return this.dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }

    public Date getDr_date() {
        return this.dr_date;
    }

    public void setDr_date(Date dr_date) {
        this.dr_date = dr_date;
    }

    public String getDr_user_sid() {
        return this.dr_user_sid;
    }

    public void setDr_user_sid(String dr_user_sid) {
        this.dr_user_sid = dr_user_sid;
    }

    public String getDr_user_name() {
        return this.dr_user_name;
    }

    public void setDr_user_name(String dr_user_name) {
        this.dr_user_name = dr_user_name;
    }

    public String getNote_info() {
        return this.note_info;
    }

    public void setNote_info(String note_info) {
        this.note_info = note_info;
    }

    public Integer getYyyy() {
        return this.yyyy;
    }

    public void setYyyy(Integer yyyy) {
        this.yyyy = yyyy;
    }

    public Integer getMm() {
        return this.mm;
    }

    public void setMm(Integer mm) {
        this.mm = mm;
    }

    public Integer getDd() {
        return this.dd;
    }

    public void setDd(Integer dd) {
        this.dd = dd;
    }

    public Integer getTen_days() {
        return this.ten_days;
    }

    public void setTen_days(Integer ten_days) {
        this.ten_days = ten_days;
    }

    public BigDecimal getExt0() {
        return this.ext0;
    }

    public void setExt0(BigDecimal ext0) {
        this.ext0 = ext0;
    }

    public BigDecimal getExt1() {
        return this.ext1;
    }

    public void setExt1(BigDecimal ext1) {
        this.ext1 = ext1;
    }

    public BigDecimal getExt2() {
        return this.ext2;
    }

    public void setExt2(BigDecimal ext2) {
        this.ext2 = ext2;
    }

    public BigDecimal getExt3() {
        return this.ext3;
    }

    public void setExt3(BigDecimal ext3) {
        this.ext3 = ext3;
    }

    public String getExt4() {
        return this.ext4;
    }

    public void setExt4(String ext4) {
        this.ext4 = ext4;
    }

    public String getExt5() {
        return this.ext5;
    }

    public void setExt5(String ext5) {
        this.ext5 = ext5;
    }

    public String getExt6() {
        return this.ext6;
    }

    public void setExt6(String ext6) {
        this.ext6 = ext6;
    }

    public String getExt7() {
        return this.ext7;
    }

    public void setExt7(String ext7) {
        this.ext7 = ext7;
    }

    public String getExt8() {
        return this.ext8;
    }

    public void setExt8(String ext8) {
        this.ext8 = ext8;
    }

    public String getBiz_type() {
        return this.biz_type;
    }

    public void setBiz_type(String biz_type) {
        this.biz_type = biz_type;
    }

    public String getFile_path() {
        return this.file_path;
    }

    public void setFile_path(String file_path) {
        this.file_path = file_path;
    }

    public Long getFile_len() {
        return this.file_len;
    }

    public void setFile_len(Long file_len) {
        this.file_len = file_len;
    }

    public String getWeb_url() {
        return this.web_url;
    }

    public void setWeb_url(String web_url) {
        this.web_url = web_url;
    }

    public String getThumbnail_url() {
        return this.thumbnail_url;
    }

    public void setThumbnail_url(String thumbnail_url) {
        this.thumbnail_url = thumbnail_url;
    }

    public String getOriginal_file_name() {
        return this.original_file_name;
    }

    public void setOriginal_file_name(String original_file_name) {
        this.original_file_name = original_file_name;
    }

    public Integer getTime_tag() {
        return this.time_tag;
    }

    public void setTime_tag(Integer time_tag) {
        this.time_tag = time_tag;
    }

    public Double getLng() {
        return this.lng;
    }

    public void setLng(Double lng) {
        this.lng = lng;
    }

    public Double getLat() {
        return this.lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public String getAssociate_biz_table() {
        return this.associate_biz_table;
    }

    public void setAssociate_biz_table(String associate_biz_table) {
        this.associate_biz_table = associate_biz_table;
    }

    public String getAssociate_biz_sid() {
        return this.associate_biz_sid;
    }

    public void setAssociate_biz_sid(String associate_biz_sid) {
        this.associate_biz_sid = associate_biz_sid;
    }

    public String getAssociate_biz_field_tag() {
        return this.associate_biz_field_tag;
    }

    public void setAssociate_biz_field_tag(String associate_biz_field_tag) {
        this.associate_biz_field_tag = associate_biz_field_tag;
    }

    public String getOss_type() {
        return this.oss_type;
    }

    public void setOss_type(String oss_type) {
        this.oss_type = oss_type;
    }

    public String getOss_url() {
        return this.oss_url;
    }

    public void setOss_url(String oss_url) {
        this.oss_url = oss_url;
    }


}
